

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import '@/assets/css/base.css'
import ElementPlus from 'element-plus'
import App from './App.vue'
import router from './router'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
const app = createApp(App)
import 'element-plus/dist/index.css'
import '@/assets/icon/iconfont.js'
import '@/assets/css/base_table.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

app.use(createPinia())
app.use(router)
app.use(ElementPlus, { size: 'small', zIndex: 3000,locale:zhCn })
app.mount('#app')
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
